<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
</head>
<body>
<!-- 文件上传，必须是 post 提交, enctype 改为 multipart/form-data -->
<form action="upload2" method="post" enctype="multipart/form-data">
    <input type="text" name="fileName" id="">
    <input type="file" name="img">
    <input type="file" name="img2">

    <input type="submit" value="上传">
</form>
</body>
</html>